FROM openjdk:17-jdk-slim



WORKDIR /app
# 从 target 目录复制 hello.jar 到/app 目录
COPY target/blog-content-1.0-SNAPSHOT.jar /app/blog-content-1.0-SNAPSHOT.jar

EXPOSE 8002

ENTRYPOINT ["java", "-jar", "/blog-content-1.0-SNAPSHOT.jar"]